package com.huike.business.service;

import com.huike.business.domain.TbBusiness;

import java.util.List;

/**
* @author 93238
* @description 针对表【tb_business(商机)】的数据库操作Service
* @createDate 2023-10-12 06:08:37
*/
public interface TbBusinessService{
    int changeBusiness(Long id);
    TbBusiness selectTbBusinessById(Long id);
    List<TbBusiness> selectTbBusinessList(TbBusiness tbBusiness);
    List<TbBusiness> selectTbBusinessPool(TbBusiness tbBusiness);
    int insertTbBusiness(TbBusiness tbBusiness);
    int updateTbBusiness(TbBusiness tbBusiness);

    int deleteTbBusinessByIds(Long[] ids);
    int deleteTbBusinessById(Long id);
    String assign(Long[] clueIds, Long userId);
    String gain(Long[] clueIds, Long userId);
    int backPool(Long busniessId,String reason);
    int updateStatus(Long id, String status);
}
